package ejb.manager;

import java.util.List;

import ejb.entity.City;
import ejb.entity.Notification;

public interface NotificationManager {

	public abstract Notification addNotification(String message, int type, int mintemp,
			int maxtemp, int minpressure, int maxpressure, int position_id, boolean one_time);

	public abstract List<Notification> getPositionNotification(int position_id);

	public abstract boolean sendNotification(List<City> oldcities);
	
	public abstract boolean deleteNotification(int id);	
}